Stored Procedures [dbo].[BAEEventSetupGetFunctionQuestions]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@eventCodevarchar(16)16
@functionCodevarchar(16)16
SQL Script
create procedure [dbo].[BAEEventSetupGetFunctionQuestions] @eventCode varchar(16),
     @functionCode varchar(16) as
SELECT *, UPPER(FunctionCode) + '      ' + Question EventQuestion  FROM EventSetupQuestion
    WHERE UPPER(EventCode) = UPPER(@eventCode) AND UPPER(FunctionCode) = UPPER(@functionCode)
    ORDER BY QuestionOrder

GO
Uses